package com.gxp.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.gxp.common.annotation.Excel;
import com.gxp.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 请求对象 zknj_request
 * 
 * @author zh
 * @date 2024-08-06
 */
public class ZknjRequest extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long reqId;

    /** 名称 */
    @Excel(name = "名称")
    private String reqName;

    /** 描述 */
    @Excel(name = "描述")
    private String reqDes;

    private Long reqStatus;

    /** project Id */
    @Excel(name = "project Id")
    private Long proId;

    /** 请求添加Request描述 */
    @Excel(name = "请求添加Request描述")
    private String comment;

    private ZknjProject project;

    private List<ZknjSample> samples;

    private List<ZknjServiceInstance> services;

    private List<ZknjDocument> documents;

    /* sql查询条件 */
    private Long[] proIds;

    public void setReqId(Long reqId) 
    {
        this.reqId = reqId;
    }

    public Long getReqId() 
    {
        return reqId;
    }
    public void setReqName(String reqName) 
    {
        this.reqName = reqName;
    }

    public String getReqName() 
    {
        return reqName;
    }
    public void setReqDes(String reqDes) 
    {
        this.reqDes = reqDes;
    }

    public String getReqDes() 
    {
        return reqDes;
    }
    public void setProId(Long proId) 
    {
        this.proId = proId;
    }

    public Long getProId() 
    {
        return proId;
    }
    public void setComment(String comment) 
    {
        this.comment = comment;
    }

    public String getComment() 
    {
        return comment;
    }

    public List<ZknjSample> getSamples() {
        return samples;
    }

    public void setSamples(List<ZknjSample> samples) {
        this.samples = samples;
    }

    public List<ZknjServiceInstance> getServices() {
        return services;
    }

    public void setServices(List<ZknjServiceInstance> services) {
        this.services = services;
    }

    public ZknjProject getProject() {
        return project;
    }

    public void setProject(ZknjProject project) {
        this.project = project;
    }

    public Long getReqStatus() {
        return reqStatus;
    }

    public void setReqStatus(Long reqStatus) {
        this.reqStatus = reqStatus;
    }

    public Long[] getProIds() {
        return proIds;
    }

    public void setProIds(Long[] proIds) {
        this.proIds = proIds;
    }

    public List<ZknjDocument> getDocuments() {
        return documents;
    }

    public void setDocuments(List<ZknjDocument> documents) {
        this.documents = documents;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("reqId", getReqId())
            .append("reqName", getReqName())
            .append("reqDes", getReqDes())
            .append("proId", getProId())
            .append("comment", getComment())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("samples", getSamples())
            .toString();
    }
}
